<%@ page contentType="text/html;charset=ISO8859_1" language="java" %>

<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/struts-nested.tld" prefix="nested" %>

<html:html locale="true">
<head>
	<title><bean:message key="exception.title" /></title>
	<link rel="stylesheet" href="../style/default_aux.css">
	<link rel="stylesheet" href="../style/pp.css">
</head>
<body onload="oninit();">
	<script src="../script/overlib.js" language="JavaScript"></script>
	<script src="../script/style.js" language="JavaScript"></script>
	<script src="../script/windows.js" language="JavaScript"></script>
	<table cellspacing="0" class="filledframe">
		<tr>
			<td nowrap="" class="clientframe">
				<table id="oHelp" class="helper" >
					<tr>
						<td width="200" class="label">&nbsp;</td>
						<td class="help"><input type="button" class="button" title="<bean:message key="common.help.title" />" onclick="help('help.report.schd');" value="<bean:message key="common.help" />" ></td>
					</tr>
				</table>
				
				<input type="hidden" name="pageUrl" value="<html:rewrite action="/report/ReportSchdList" />" />
				<div class="listtitle"><bean:message key="exception.title" /></div>
				<div class="subtitle" id="oExcpetionTitle"></div>
				<table id="oPropPagesTab"></table>
				
				<!---------------- generial information properties page BEGIN ----------------->
				<div id="ppSummary">
					<table width="100%" height="100%" cellspacing="0" class="formpanel">
						<tr><td class="toppad">&nbsp;</td></tr>
						<tr><td class="input"><table cellspacing="0"><tr>
							<td nowrap class="label"><bean:message key="exception.cause.label" />:</td>
							<td nowrap class="remark" id="oExceptionCause"></td>
						</tr></table></td></tr>
						<tr><td class="input"><table cellspacing="0"><tr>
							<td nowrap class="label"><bean:message key="exception.suggest.label" />:</td>
							<td nowrap class="remark"><bean:message key="exception.suggest.content1" /><br>
								<bean:message key="exception.suggest.content2" /></td>
						</tr></table></td></tr>
						<tr><td class="bottompad">&nbsp;</td></tr>
					</table>
				</div>
				<!---------------- generial information properties page END ----------------->

				<!---------------- remark properties page BEGIN ----------------->
				<div id="ppDetail">
					<table width="100%" height="100%" cellspacing="0" class="formpanel">
						<tr><td class="toppad">&nbsp;</td></tr>
						<tr><td class="input"><table cellspacing="0"><tr>
							<td nowrap >
								<textarea id="oDetailContent" cols="45" rows="12" tabindex="601"></textarea></td>
						</tr></table></td></tr>
						<tr><td class="bottompad">&nbsp;</td></tr>
					</table>
				</div>
				<!---------------- remark properties page END ----------------->
				
				<table width="500" class="formpanelbar">
					<tr>
						<td align="right" nowrap="">
							<input type="button" tabindex="1001" onclick="onRetry();" class="button" value="<bean:message key="common.retry" />" ></td>
					</tr>
				</table>
			</td>
			<!-- td id="oFrame" nowrap="" class="infoframe">&nbsp;</td -->
		</tr>
	</table>
	
<script language="javascript">
function oninit()
{
	initPropertyPageTable(oPropPagesTab, 500, 360);
	addPropertyPage(oPropPagesTab, ppSummary, "<bean:message key="exception.pp.summary" />");
	addPropertyPage(oPropPagesTab, ppDetail, "<bean:message key="exception.pp.detail" />");
	setPropertyPageActive(oPropPagesTab, 0);
	
	oExcpetionTitle.innerText = opener.getExceptionCause();
	oDetailContent.innerText = opener.getExceptionDetail();
}
function onRetry()
{
	opener.retry();
}
</script>

</body>
</html:html>

